﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;

namespace cpe.cpein.UI.Tools
{
    /// <summary>
    /// Tools class 
    /// </summary>
    public static class Tools
    {
        /// <summary>
        /// Set the user interface in a wait status state.
        /// </summary>
        public static void BeginWaitStatus()
        {
            Mouse.OverrideCursor = Cursors.Wait;
        }

        /// <summary>
        /// Unset the wait status state of the user interface.
        /// </summary>
        public static void EndWaitStatus()
        {
            Mouse.OverrideCursor = null;
        }
    }
}
